//
//  Gradekeeper0_2AppDelegate.h
//  Gradekeeper0.2
//
//  Created by Libo Zhou on 10/22/09.
//  Copyright 2009 i5. All rights reserved.
//  
//  Edited by Lily Wang: added ProfileNavsController
//
//  reference: http://michael.burford.net/2008/11/fading-defaultpng-when-iphone-app.html

#import <UIKit/UIKit.h>
#import "TapkuLibrary/TapkuLibrary.h"
#import <sqlite3.h>
#import "Todo.h"
#import "Profile.h"

@class ProfileNavsController;
@class ScheduleNavsController;
@class SemNavsController;
@class CourseNav;
@class SyncViewController;

@interface Gradekeeper0_2AppDelegate : NSObject <UIApplicationDelegate> {
    IBOutlet UIWindow *window;
	IBOutlet UITabBarController *rootController;
	IBOutlet ProfileNavsController *pNavsController;
	IBOutlet ScheduleNavsController *cNavsController;
	IBOutlet CourseNav *course;
	IBOutlet SemNavsController * sNavsContoller;
	UIImageView *splashView;
	Profile *userProfile;
	
	SyncViewController *ViewController;

	sqlite3 *database;
	NSMutableArray *todos;
}

@property (nonatomic, retain) UIWindow *window;
@property (nonatomic, retain) UITabBarController *rootController;
@property (nonatomic, retain) IBOutlet ProfileNavsController *pNavsController;
@property (nonatomic, retain) IBOutlet ScheduleNavsController *cNavsController;
@property (nonatomic, retain) IBOutlet CourseNav * course;

@property (nonatomic, retain) IBOutlet SemNavsController * sNavsContoller;

@property (nonatomic,retain) IBOutlet SyncViewController *ViewController;


@property (nonatomic, retain) NSMutableArray *todos;
@property (nonatomic, retain) Profile *userProfile;

-(void)removeTodo:(Todo *)todo;
-(Todo *)addTodo;
- (void)startupAnimationDone:(NSString *)animationID finished:(NSNumber *)finished context:(void *)context;

@end

